Skip to content

Consolidate configuration handling in data/configuration.rs into xet_config #609

Draft
hoytak wants to merge 3 commits intomainfrom
hoytak/260111-consolidate-config
Draft

Consolidate configuration handling in data/configuration.rs into xet_config #609
hoytak wants to merge 3 commits intomainfrom
hoytak/260111-consolidate-config

Conversation

@hoytak
Copy link
Collaborator

@hoytak hoytak commented Jan 12, 2026

Currently, data/configuration.rs contains a lot of stuff that can now easily be handled by the xet_config system. This PR moves many of these fields into the appropriate groups within xet_config, leaving the repo, endpoint, session, etc. information inside a new struct called SessionContext.

Currently, this is part of the work needed to have a clean Session-based interface; it's a breaking change to the hf_wasm, so needs to be rolled out cleanly (hence the draft status).

@hoytak hoytak requested review from assafvayner and seanses January 12, 2026 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant